package com.atguigu.gulimail.search.service;

import com.atguigu.gulimail.search.vo.SearchParam;
import com.atguigu.gulimail.search.vo.SearchResult;

import java.io.IOException;

/**
 * @author Guo 2022/11/2 16:18:26
 */
public interface MailSearchService {

    /**
     * @param param 检索的所有条件
     * @return 返回检索的结果,里面包含页面需要的所有信息
     */
    SearchResult search(SearchParam param) throws IOException;
}
